package com.huarui.permission.dataobject;

import org.ewaf.framework.model.BaseDataObject;


/**
 * Create Table permission (                                     -- 功能
  id                        Int AUTO_INCREMENT  Primary Key ,     -- 主键
  name                      varChar ( 128 ) NOT NULL  ,           -- 权限名称
  fullName                  varChar ( 256 ) NOT NULL  ,           -- 权限全称
  parentId                  Int NOT NULL  default 0               -- 父权限ID
);

 * @author uniseraph
 *
 */
public class Permission extends BaseDataObject{
	private Integer id;
	
	private String name;
	private Integer sequence;
	private String fullName;
	private String nameFullPath;
	private Integer parentId;
	private String url;
	private Integer isGroup;
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Integer getIsGroup() {
		return isGroup;
	}
	public void setIsGroup(Integer isGroup) {
		this.isGroup = isGroup;
	}
	public Integer getSequence() {
		return sequence;
	}
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}
	public String getNameFullPath() {
		return nameFullPath;
	}
	public void setNameFullPath(String nameFullPath) {
		this.nameFullPath = nameFullPath;
	}
	
}
